package com.cs171.market.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentService {

    @Autowired
    private CheckUserService checkUserService;

    public void insert() throws Exception {
        // checkUserService.check(); OOP权限验证，较为繁琐
        System.out.println("增加记录成功");
    }

    public void delete(){
        System.out.println("删除记录成功");
    }

    public void update(){
        System.out.println("更新记录成功");
    }

    public void find(){
        System.out.println("查询记录成功");
    }
}
